package cn.com.cifi.mars.mapper.mars;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.com.cifi.mars.entity.common.DictionaryType;

public interface DictionaryTypeMapper extends BaseMapper<DictionaryType>{
    int deleteByPrimaryKey(Integer id);

   // int insert(DictionaryType record);

    int insertSelective(DictionaryType record);

    DictionaryType selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DictionaryType record);

    int updateByPrimaryKey(DictionaryType record);
    
    List<Map<String,Object>>selectPageList(Page page,@Param("typeName")String typeName);
    
    DictionaryType selectByTypeCode(String typeCode);
}